package com.wn.icloud.provider.uac.remote.fallback;

import com.wn.icloud.common.vo.log.LogInfo;
import com.wn.icloud.provider.uac.remote.LogFeignApi;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author kyy
 * @date 2019/03/27
 */
@Service
public class LogFeignApiFallback implements LogFeignApi {

    private Logger log = LoggerFactory.getLogger(LogFeignApiFallback.class);

    @Override
    public void saveLog(LogInfo info) {
        log.error("调用{}异常{}", "saveLog", info.toString());
    }
}
